/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.workingtimemanager.urb.entities;

import org.joda.time.DateTime;
import org.joda.time.Duration;

/**
 *
 * @author CK05102
 */
@Deprecated
public class Time {

    private final DateTime DATE;
    private final DateTime STARTTIME;
    private final DateTime ENDTIME;
    private final Duration DURATION;

    public Time(DateTime DATE, DateTime STARTTIME, DateTime ENDTIME,
            Duration DURATION) {
        super();
        this.DATE = DATE;
        this.STARTTIME = STARTTIME;
        this.ENDTIME = ENDTIME;
        this.DURATION = DURATION;
    }

    public DateTime getDATE() {
        return new DateTime(DATE);
    }

    public DateTime getSTARTTIME() {
        return new DateTime(STARTTIME);
    }

    public DateTime getENDTIME() {
        return new DateTime(ENDTIME);
    }

    public Duration getDURATION() {
        return new Duration(DURATION);
    }
}
